//Source file for the linear object manager
#include "ObjectManager.h"

//Insert object into the linear array
void LinearObjManager::InsertObject(Shape* obj)
{
	this->obj_array.push_back(obj);
	this->num_obj++;
}

//Get the pointer for object at index
Shape* LinearObjManager::GetObject(int index)
{
	return this->obj_array.at(index);
}

